package cn.kgc.ssm.service;

import cn.kgc.ssm.entity.Member;
import cn.kgc.ssm.utils.ResponseResult;

import javax.servlet.http.HttpSession;

/**
 * @author 课工场
 * @date 2024/3/8
 * @description
 */
public interface MemberService {
    ResponseResult register(Member member);

    ResponseResult login(String memberName, String password, HttpSession session);

    ResponseResult memberPage(Integer page, Integer limit, String memberName);

    ResponseResult getMemberByName(String name);

    ResponseResult addMember(Member member);

    ResponseResult editMember(Member member);

    ResponseResult deleteMember(Integer[] ids);

    ResponseResult resetPwd(Integer id);
}
